package com.front.managementfront.driver.service;

        import com.baomidou.mybatisplus.core.metadata.IPage;
        import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
        import com.baomidou.mybatisplus.extension.service.IService;
        import com.front.managementfront.driver.entity.HktsRealNameAuthentication;
        import com.hkts.management.common.vo.DriverListInfoVo;
        import com.front.managementfront.driver.vo.RealNameVo;
        import com.hkts.management.common.utils.CustomPage;
        import com.hkts.management.common.utils.Result;

        import java.text.ParseException;
        import java.util.List;
        import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-05-09
 */
public interface IHktsRealNameAuthenticationService extends IService<HktsRealNameAuthentication> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param hktsRealNameAuthentication
     * @return
     */
    IPage<HktsRealNameAuthentication> selectPage(Page<HktsRealNameAuthentication> page, HktsRealNameAuthentication hktsRealNameAuthentication);

    List<HktsRealNameAuthentication> selectList(HktsRealNameAuthentication hktsRealNameAuthentication);

    RealNameVo getByUserId(String userId);

    CustomPage<DriverListInfoVo> getDriverInfoPage(IPage<DriverListInfoVo> page, DriverListInfoVo vo);

    DriverListInfoVo getDriverInfoByUserId(String userId) throws ParseException;

    List<String> getIdsByDriverName(String driverName);

    Map<String, String> getDriverNamesByIds(String ids);

    Result<Object> getDriverInfoByUserMobile(String mobile) throws ParseException;
    Result<List<DriverListInfoVo>> getDriverInfosByUserMobile(String mobile) throws ParseException;
}